home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
151-175
/
disk_156
/
flex
/
flex2
/
gnu.lib.src
/
xrealloc.c
< prev
Wrap
C/C++ Source or Header
|
1992-05-06
|
239b
|
16 lines
/*
* xrealloc -- a "safe" realloc
*/
char *
xrealloc (old, size)
char *old;
int size;
{
extern char *realloc ();
register char *ptr = realloc (old, size);
if (ptr != 0) return (ptr);
memory_full ();
/*NOTREACHED*/
}